// vite.config.js
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///F:/vue-project/zzwx_new/node_modules/vite/dist/node/index.js";
import { resolve } from "path";
import vue from "file:///F:/vue-project/zzwx_new/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import sassPlugin from "file:///F:/vue-project/zzwx_new/node_modules/vite-plugin-sass/index.js";
import sass from "file:///F:/vue-project/zzwx_new/node_modules/vite-plugin-sass/index.js";
import AutoImport from "file:///F:/vue-project/zzwx_new/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///F:/vue-project/zzwx_new/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///F:/vue-project/zzwx_new/node_modules/unplugin-vue-components/dist/resolvers.js";
var __vite_injected_original_dirname = "F:\\vue-project\\zzwx_new";
var __vite_injected_original_import_meta_url = "file:///F:/vue-project/zzwx_new/vite.config.js";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    AutoImport({
      imports: ["vue", "vue-router"]
      // resolvers: [ElementPlusResolver()],
    })
  ],
  // css:{
  //   preprocessorOptions: {
  //     scss: {
  //     }
  //   }
  // },
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    proxy: {
      "/servlet/my": {
        target: "http://localhost:26001",
        rewrite: (path) => path.replace(/^\/servlet\/my/, "")
      },
      "/servlet": {
        // target:'https://api-pro.yunxuebao.com',
        // target:'https://api-test.yunxuebao.com',
        // target:'http://localhost:8082',
        // target:'http://192.168.0.106:26001',
        // target:'http://luokaixin.a1.luyouxia.net:21849',
        // target:'http://localhost:26001',
        target: "http://www.zzwx.cn:8082",
        // target:'http://192.168.0.116:26001',
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/servlet/, "")
      }
    }
    //27107  以zzw启动elasticsearch
    // https:true
  },
  client: {
    // overlay: {
    //   // 默认为 true
    //   warnings: false,
    //   // 默认为 true
    //   errors: false,
    // },
  },
  build: {
    rollupOptions: {
      input: {
        main: resolve(__vite_injected_original_dirname, "index.html"),
        other: resolve(__vite_injected_original_dirname, "nested/other.html")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJGOlxcXFx2dWUtcHJvamVjdFxcXFx6end4X25ld1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRjpcXFxcdnVlLXByb2plY3RcXFxcenp3eF9uZXdcXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0Y6L3Z1ZS1wcm9qZWN0L3p6d3hfbmV3L3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHsgZmlsZVVSTFRvUGF0aCwgVVJMIH0gZnJvbSAnbm9kZTp1cmwnXHJcblxyXG5pbXBvcnQgeyBkZWZpbmVDb25maWcgfSBmcm9tICd2aXRlJ1xyXG5pbXBvcnQgeyByZXNvbHZlIH0gZnJvbSAncGF0aCdcclxuaW1wb3J0IHZ1ZSBmcm9tICdAdml0ZWpzL3BsdWdpbi12dWUnXHJcbmltcG9ydCBzYXNzUGx1Z2luIGZyb20gXCJ2aXRlLXBsdWdpbi1zYXNzXCJcclxuLy8gaW1wb3J0IHdlYldvcmtlckxvYWRlciBmcm9tICdyb2xsdXAtcGx1Z2luLXdlYi13b3JrZXItbG9hZGVyJztcclxuaW1wb3J0IHNhc3MgZnJvbSAndml0ZS1wbHVnaW4tc2Fzcyc7XHJcbmltcG9ydCBBdXRvSW1wb3J0IGZyb20gJ3VucGx1Z2luLWF1dG8taW1wb3J0L3ZpdGUnO1xyXG5pbXBvcn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